sudo rm -rf rootfs/*
sudo tar -xvf rootfs.tar -C rootfs/
sudo mkfs.jffs2 -s 256 -e 0x10000 -p 0x1800000 -d ~/NUC970_Buildroot-master/output/images/rootfs -o ~/NUC970_Buildroot-master/output/images/jffs2.img 

